﻿using System;
using System.Collections.Generic;
using System.Text;

namespace PIM.API
{
    public class RecipeUser
    {
        public RecipeUser()
        {

        }

        public int RecipeID;
        public int UserID;
        public string RecipeName;
        public int Serving;
        public int PrepTime;
        public int CookTime;
        public Double RecipeRating;
        public string RecDirection;
        public string Description;
        public string RecipeImage;
        public List<RecipeIngredientUser> RecipeIngredientUser { get; set; }
        public string IngredientName;
        public string UserName;
        public bool IsShared;
        public string IngredientNameString;
        public string DepartNameString;
        public string LinkImage;
    }

    public class MealPlanRecipeIngredient
    {
        public MealPlanRecipeIngredient() { }
        public int MealPlanID;
        public string MealPlanName;
        public int UserId;
        public string Description;
        public int MealPlanDetailId;
        public int RecipeId;
        public string RecipeName;
        public int RecipeIngredientUserId;
        public string IngredientName;
        public int Serving;
    }

    public class RecipeIngredientUser
    {
        public RecipeIngredientUser()
        {

        }

        public int RecipeIngredientUserID {get;set;}
        public int RecipeID {get;set;}
        public string IngredientName {get;set;}
        public int Quantity {get;set;}
        public int Units {get;set;}
        public string Directions {get;set;}
        public string RecipeImage { get; set; }
        public string RecipeName { get; set; }
        public string Serving { get; set; }
    }

    public class MealPlan
    {
        public MealPlan()
        {
 
        }
        public int MealPlanID;
        public int UserID;
        public int CreatedUserID;
        public int ParentUserId;
        public string MealPlanName;
        public bool isShared;
        public bool canCopy;
        public int NoOfReview;
        public double MealPlanRating;
        public int AvgCalPerDay;
        public int EstCostPerDay;
        public string MealPlanPhoto;
        public string Description;
        public string BasicInfo;
        public string UserName;
        public string ListRecipeId;
        public string ImageLink;
    }

    public class MealPlanDetail
    {
        public MealPlanDetail()
        { 
        }
        public int MealPlanDetailId;
        public int MealPlanId;
        public int MealTypeId;
        public int RecipeId;
        public int GroceryItemId;
        public int PlanTypeId;
        public int NoOfServings;
        public DateTime DateCreated;
        public string DateOfWeek;
    }

    public class MealPlanIngredientDepart
    {
        public MealPlanIngredientDepart() { }
        public int MealPlanID;
        public string ListIngredient;
        public string ListDepartment;
    }

    public class IngredientList
    {
        public IngredientList() { }
        public int IngredientID;
        public int UserID;
        public string Long_Desc;
    }

    public class IngredientDept
    {
        public IngredientDept() { }
        public string GroDept;

    }

    public class IngredientDeptDetail
    {
        public IngredientDeptDetail() { }
        public string GroDept;
        public string ingre;
    }

    public class Department
    {
        public Department() { }
        public List<IngredientDeptDetail> ingreDeptDetails;
    }

    public class Feedback
    {
        public Feedback() { }
        public int Id { get; set; }
        public string EmailFeedback { get; set; }
        public string TitleFeedback { get; set; }
        public string Comment { get; set; }
        public DateTime FeedbackDate { get; set; }
        public bool IsReplace { get; set; }
        public string EmailReplace { get; set; }
    }

    public class Users
    {
        public Users() { }
        public string UserID;
        public string UserName;
        public string Password;
    }

    public class UserRoleFunction
    {
        public UserRoleFunction() { }
        public string UserId { get; set; }
        public string UserName { get; set; }
        public string RoleId { get; set; }
        public string RoleName { get; set; }
        public string FunctionId { get; set; }
        public string FunctionName { get; set; }
        public string ImageLink { get; set; }
        public bool isView { get; set; }
        public bool isSelect { get; set; }
        public bool isDelete { get; set; }
        public bool isInsert { get; set; }
        public bool isUpdate { get; set; }
    }

    public class Report1
    {
        public string Name;
        public float Today;
        public float Target;
    }
    public class Report2
    {
        public string Name;
        public float Calorie;
        public float Carb;
        public float Fat;
        public float Protein;
        //public float CalorieTarget;
    }
    public class Report3
    {
        public string Name;
        public float YourCalorie;
        public float TargetCalorie;
    }
   
    
    public class GoalsReport
    {
        public float Calorie;
        public float Carb;
        public float Fat;
        public float Protein;
        public float Weight;
    }
    public class ReportData
    {
        public string Name;
        public float Calorie;
        public float Carb;
        public float Fat;
        public float Protein;
        public int ID;
    }
    public class RecipeNutrition
    {
        public int Calorie;
        public int Carb;
        public int Fat;
        public int Protein;
        public int Weight;
    }
    public class Unit
    {
        public string NDB_No;
        public string Msre_Desc;
        public float Gm_Wgt;
    }
    public class CurrentNutrient
    {
        public float Cal;
        public float Protein;
        public float Fat;
        public float Carb;
        public float Weight;
        public int RecipeID;
    }

    public class Nutrition
    {
        public Nutrition() { }
        public string Long_Desc { get; set; }
        public int NDP_No { get; set; }
        public int Energ_Kcal { get; set; }
        public decimal Protein { get; set; }
        public decimal Lipid_Tot { get; set; }
        public decimal Carbohydrt { get; set; }
    }

    public class ReportWeight
    {
        public string Name;
        public float YourWeight;
        public float Target;
    }
    public class ReportExercise
    {
        public string Name;
        public float YourExercise;
        public float Target;
    }

    public class ListMyExercises
    {
        public int ID;
        public string Header;
        public string Date;
        public string ExerciseName;
        public float Cal;
        public int Rank;
    }

    public class ListMyWeight
    {
        public int ID;
        public string Header;
        public string Date;
        public float Weight;
        public int Rank;
    }
    public class ListMyFoodIntake
    {
        public int ID;
        public string Header;
        public string Date;
        public string CalorieName;
        public float Calorie;
        public float Fat;
        public float Carb;
        public float Protein;  
        public int Rank;
    }
    public class ShowMainReport
    {
        public string Name;
        public float Calorie;
        public float Fat;
        public float Carb;
        public float Protein;
        public float Weight;
        public float Exercise;
    }
}
